Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly clean up when using the Android back button to dismiss #19

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

jfahrenkrug
Copy link
Collaborator

Description

When using the Android back button to dismiss the dialog, we were not
running the same cleanup code that we run when pressing the X close button.

This is now changed and it caused the Android status bar to re-appear
when using the back button.

Closes #15

Type

[X] Bug fix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other (please describe below)

Breaking Changes

Does this pull request introduce any breaking changes?

[ ] Yes
[X] No

When using the Android back button to dismiss the dialog, we were not
running the same cleanup code that we run when pressing the X close button.

This is now changed and it caused the Android status bar to re-appear
when using the back button.

Closes #15
@jfahrenkrug jfahrenkrug merged commit 2ae1c5c into main Aug 4, 2022
@jfahrenkrug jfahrenkrug deleted the support_android_back_button branch August 4, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening the ImageViewer automatically dismisses the StatusBar on Android
2 participants